package com.xyy.saas.payment.api.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.xyy.saas.payment.cores.api.CallbackResultApi;
import com.xyy.saas.payment.cores.api.PaymentResultApi;
import com.xyy.saas.payment.cores.vo.CallbackResultVo;
import com.xyy.saas.payment.cores.vo.ResultVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Service(version = "1.0.0" , group = "testClass")
public class CallbackTest implements CallbackResultApi {
    private static final Logger LOGGER = LoggerFactory.getLogger(CallbackTest.class);

    @Override
    public ResultVO callbackResult(ResultVO resultVO) {
        LOGGER.info("成功 成功 回调成功 "+ ((CallbackResultVo)resultVO.getResult()).toString());
        return ResultVO.createSuccess();
    }
}
